package edu.um.expression;

import edu.um.analyzer.exception.TypeMismatchException;

public class ExpressionTree {
  private final ExpressionTreeNode parentNode;

  public ExpressionTree(ExpressionTreeNode parentNode) {
    super();
    this.parentNode = parentNode;
  }

  public void validate() throws TypeMismatchException {
    parentNode.validate();
  }
}
